home *** CD-ROM | disk | FTP | other *** search
- unit NoNewEditWindowsU;
-
- interface
-
- uses
- Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
- AppEvnts, StdCtrls;
-
- type
- TNoNewEditWindowsForm = class(TForm)
- ApplicationEvents: TApplicationEvents;
- procedure ApplicationEventsMessage(var Msg: tagMSG;
- var Handled: Boolean);
- end;
-
- procedure Register;
-
- implementation
-
- {$R *.DFM}
-
- uses
- Menus, StdActns;
-
- var
- NoNewEditWindowsForm: TNoNewEditWindowsForm;
-
- procedure Register;
- begin
- NoNewEditWindowsForm := TNoNewEditWindowsForm.Create(nil)
- end;
-
- procedure TNoNewEditWindowsForm.ApplicationEventsMessage(var Msg: tagMSG;
- var Handled: Boolean);
- begin
- if (Msg.Message = wm_KeyDown) and (Msg.WParam = 0) then
- Handled := True
- end;
-
- initialization
- finalization
- NoNewEditWindowsForm.Free
- end.
-